import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  watch:{
    $route(to,from){
     this.$store.commit('setTitle',to.name);
   }
  }
}).$mount('#app')
